﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class UIEvent
{
    public UIFormScript m_srcFormScript;
    public GameObject m_srcWidget;
    public UIComponent m_srcWidgetScript;
    public UIListScript m_srcWigdetBelongedListScript;
    public PointerEventData m_pointerEventData;
    public stUIEventParms m_evemtParams;
    public enUIEventID m_eventID;
    public bool isUse;

    public int m_srcWidgetIndexInBelongList { get; set; }

    public void Clear()
    {
        this.m_srcWigdetBelongedListScript = null;
        this.m_pointerEventData = null;
        this.m_srcFormScript = null;
        this.m_srcWidget = null;
        this.m_srcWidgetIndexInBelongList = 0;
        this.m_srcWidgetScript = null;
        isUse = false;
    }
}
